home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 12⁄1⁄89 / 0344-Shared views in TDia-Jan90 next >
Encoding:
Text File  |  1990-01-12  |  1.2 KB  |  34 lines  |  [TEXT/GEOL]

  1. Item    4130802                         5-Jan-90        19:23
  2.  
  3. From:   V0230                           Trace, Laurence Kirsh,VAR
  4.  
  5. To:     D1282        -> POWERUP.DEV     Power Up,PRT
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Shared views in TDialogView
  10.  
  11. James,
  12.  
  13. In reference to my suggestion to replace TDialogView's fTEView with a general
  14. list of views, you ask: "Why must all TEditText items share a single
  15. TDialogTEView"?
  16.  
  17. Well the short answer is that they don't absolutely have to. But I think that
  18. sharing editing views between dialog controls is a useful feature for the
  19. following reasons:
  20.  
  21. • Dialogs often have multiple controls of the same type.
  22. • It is rare that a user operates on more than one control at a time. This is
  23. especially true of edit text fields, and it is easy to see why the fTEView
  24. field was added to TDialogView.
  25. • We can't predict how large some yet-to-be-created edit object may be.
  26.  
  27. By providing a storage area in TDialogView it is easy for controls to share an
  28. edit view, but not required. I see there's a request for a sketch of how this
  29. idea would be implemented, so I suppose I will think it through and see if the
  30. additional code is worth it.
  31.  
  32. --John MacVeigh
  33.  
  34.